export const runAsynctask = function (callback) {
    if (typeof queueMicrotask === "function") {
        queueMicrotask(callback)
    } else if (typeof MutationObserver === "function") {
        const obs = new MutationObserver(callback)
        const divNode = document.createElement("div")
        obs.observe(divNode, { childList: true })
        divNode.innerHTML = "123s"
    } else {
        setTimeout(callback, 0)
    }
}